package com.spice.service.entity.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "注册表单")
public class RegisterForm {

    @ApiModelProperty(
            value = "电话号码",
            notes = "必选",
            example = "15973370723")
    private String username;

    @ApiModelProperty(
            value = "验证码",
            notes = "必选",
            example = "123456")
    private String verificationCode;

    @ApiModelProperty(
            value = "密码",
            notes = "必选",
            example = "123456")
    private String password;

    @ApiModelProperty(
            value = "昵称",
            notes = "可选",
            example = "cq")
    private String nickname;

}
